<?php

namespace App\Http\Controllers;

use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use App\Test;

class UserController extends Controller
{
    /**
     * 在应用用户中查询出已激活的用户列表。
     *
     * @return Response
     */
    public function index()
    {
        for ($i=1; $i < 11; $i++) { 
        	$test = new Test;
        	$test->id = $i;
        	$result = $test->save();
        }
    }
}